package com.kcht.itsed.mws.extendmodel.jpa;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcht.itsed.mws.extendalemodel.PRSpec;
import com.kcht.itsed.mws.extendmodel.jpa.base.BaseEntity;

/**
 * Created by God on 2016/4/19.
 */
@TableName(value = "T_PHYSICAL_READER",autoResultMap = true)
public class PhysicalReaderEntity extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	@TableField("READER_NAME")
	protected String readerName;

	@TableField("READER_ID")
	protected String readerId;

	@TableField("READER_CLASS")
	protected String readerClass;

	@TableField("READER_IP")
	protected String readerIp;

	@TableField(value = "PR_SPEC",typeHandler = SpecEntityConverter.class)
	protected PRSpec prSpec;
	
	
	public String getReaderId() {
		return readerId;
	}

	public void setReaderId(String readerId) {
		this.readerId = readerId;
	}

	public String getReaderClass() {
		return readerClass;
	}

	public void setReaderClass(String readerClass) {
		this.readerClass = readerClass;
	}

	public String getReaderIp() {
		return readerIp;
	}

	public void setReaderIp(String readerIp) {
		this.readerIp = readerIp;
	}

	public PRSpec getPrSpec() {
		return prSpec;
	}

	public void setPrSpec(PRSpec prSpec) {
		this.prSpec = prSpec;
	}

	public String getReaderName() {
		return readerName;
	}

	public void setReaderName(String readerName) {
		this.readerName = readerName;
	}

	
}
